#cpan -i Log::Log4perl
I get error:
Can't locate object method "data" via package "CPAN::Modulelist" (perhaps you forgot to load "CPAN::Modulelist"?)
Since this thread still comes up as number 1 when googling for this error, I hope somebody will find a solution that will work for all.